package demo1;

class Person{
    private int age = 20;
    public void setAge(int my_Age){
        this.age = my_Age;
    }
    public int getAge(){
        return this.age;
    }
}
class Child extends Person{

    public int b = 10;
    public void fun() {
        System.out.println(getAge());
    }
}

public class test1 {
//    protected int a = 2024;



}
